//
//  XHPayKitConst.h
//  XHPayKitExample
//
//  Created by zhuxiaohui on 2018/2/23.
//  Copyright © 2018年 it7090.com. All rights reserved.
//  代码地址:https://github.com/CoderZhuXH/XHPayKit

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

#ifdef DEBUG
#define YYSocialKitLog(FORMAT, ...) fprintf(stderr,"%s:%d\t%s\n",[[[NSString stringWithUTF8String:__FILE__] lastPathComponent] UTF8String], __LINE__, [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);
#else
#define YYSocialKitLog(...)
#endif

#define YYA_YYUrlSign @"YueSocial"
#define YYA_YYClient @"client/?"
#define YYA_WxUrlPrefix   [NSString stringWithFormat:@"%@%@",YYA_YYUrlSign,@"://"]
#define YYA_YyUrlClient  [NSString stringWithFormat:@"%@%@",YYA_WxUrlPrefix,YYA_YYClient]
#define YYA_YyClientConfig(Scheme)  [NSString stringWithFormat:@"%@://%@",Scheme,YYA_YYClient]

#define YYA_YYReruestTypeAuth  @"AuthInformation"
#define YYA_YYReruestTypeShare  @"ShareApp"

#define YYA_YYResponseTypeAuth  @"YYAuthResponse"
#define YYA_YYResponseTypeShare  @"YYShareResponse"

#define YYA_YYShareComponentName  @"YueSocialShare"
#define YYA_YYAuthComponentName  @"YueSocialSign"
